#ifndef		 QMESSAGEBOXEX_H
#define		 QMESSAGEBOXEX_H

#ifdef COMMONCTRL_LIB
# define COMMONCTRL_EXPORT Q_DECL_EXPORT
#else
# define COMMONCTRL_EXPORT Q_DECL_IMPORT
#endif


#include <QMessageBox>
extern "C" COMMONCTRL_EXPORT  QMessageBox::StandardButton __stdcall showInformation(QWidget *parent, const QString &title,
											const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok,
											QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);

extern "C" COMMONCTRL_EXPORT   QMessageBox::StandardButton __stdcall showError(QWidget *parent, const QString &title,
									  const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok,
									  QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);

extern "C" COMMONCTRL_EXPORT   QMessageBox::StandardButton __stdcall showSuccess(QWidget *parent, const QString &title,
									  const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok,
									  QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);

extern "C" COMMONCTRL_EXPORT   QMessageBox::StandardButton __stdcall showQuestion(QWidget *parent, const QString &title,
										 const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok ,
										 QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);

extern "C" COMMONCTRL_EXPORT   QMessageBox::StandardButton __stdcall showWarning(QWidget *parent, const QString &title,
										const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok,
										QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);

extern "C" COMMONCTRL_EXPORT   QMessageBox::StandardButton __stdcall showCritical(QWidget *parent, const QString &title,
										 const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok,
										 QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);

extern "C" COMMONCTRL_EXPORT   QMessageBox::StandardButton __stdcall showCheckBoxQuestion(QWidget *parent, const QString &title,
										 const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok,
										 QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);




#endif